using System;
using System.Collections.Generic;
using System.Text;

namespace Ghasam.Business.DTO
{
    public class StockDTO
    {
        #region "Constructor"
        public StockDTO()
        { }
        public StockDTO(int? id,string name,string binnumber,string serial,int quantity,int orderPoint,int status,string description,DateTime? importdate)
        {
            this.id = id;
            this.name = name;
            this.binnumber=binnumber;
            this.serial=serial;
            this.quantity=quantity;
            this.orderPoint=orderPoint;
            this.status = status;
            this.description = description;
            this.importdate = importdate;
        }
        public StockDTO(int? id, string name, string binnumber, string serial, int quantity, int orderPoint, int status, string description, DateTime? importdate,
            int stockHistoryid, int stockId, int employeeid, DateTime? exitDate, DateTime? returnDate, string usageDescription)
        {
            this.id = id;
            this.name = name;
            this.binnumber = binnumber;
            this.serial = serial;
            this.quantity = quantity;
            this.orderPoint = orderPoint;
            this.status = status;
            this.description = description;
            this.importdate = importdate;
            this.stockHistoryId = stockHistoryid;
            this.stockId = stockId;
            this.employeeid = employeeid;
            this.exitDate = exitDate;
            this.returnDate = returnDate;
            this.usageDescription = usageDescription;

        }

        #endregion
        #region "Private Property

        protected int? id;
        protected string name;
        protected string binnumber;
        protected string serial;
        protected int quantity;
        protected int orderPoint;
        protected int status;
        protected string description;
        protected DateTime? importdate;
        protected DateTime? modifystamp;
        protected int stockHistoryId;
        protected int stockId;
        protected int employeeid;
        protected DateTime? exitDate;
        protected DateTime? returnDate;
        protected string usageDescription;
        //protected string description;
        protected DateTime? historyModifyStamp;

      #endregion
        #region "Public Method
      public virtual int? ID
      { set {id=value ;} get {return id;} }
      public virtual string Name
        { set { name = value;} get {return name ;} }
      public virtual string BinNumber
        { set { binnumber = value;} get { return binnumber; } }
      public virtual string Serial
        { set {serial = value ;} get { return serial; } }
      public virtual int Quantity
        { set {quantity = value ;} get { return quantity; } }
      public virtual int OrderPoint
        { set {orderPoint = value ;} get { return orderPoint; } }
      public virtual int Status
        { set { status = value; } get { return status; } }
      public virtual string Description
        { set {description = value ;} get { return description; } }
      public virtual DateTime? ImportDate
        { set {importdate = value ;} get { return importdate; } }
      public virtual DateTime? ModifyStamp
        { set {modifystamp = value ;} get { return modifystamp; } }
      public virtual int StockHistoryId
      { set { stockHistoryId = value; } get { return stockHistoryId; } }
      public virtual int StockID
      { set { stockId = value; } get { return stockId; } }
      public virtual int EmployeeID
      { set { employeeid = value; } get { return employeeid; } }
      public virtual DateTime? ExitDate
      { set { exitDate = value; } get { return exitDate; } }
      public virtual DateTime? ReturnDate
      { set { returnDate = value; } get { return returnDate; } }
      public virtual string UsageDescription
      { set { usageDescription = value; } get { return usageDescription; } }
      //public virtual string Description
      //{ set { description = value; } get { return description; } }
      public virtual DateTime? HistoryModifyStamp
      { set { historyModifyStamp = value; } get { return historyModifyStamp; } }
        #endregion

    }
}
